Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,557,284
Community Members
 
Community Events
184
Community Groups

Behaviours field with pre-filled text not working properly when click outside of the field

Edited

Hi All,

Case of using Behaviours to pre-fill the Description text field.

When typing the description, everything appears to be fine until we click outside the description area: the description is reversed to the default template. 

How can we resolve this?

 

Regards,

Jelena

1 answer

0 votes
Leo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 03, 2021

Hi @Jelena Saveljic

If  I understood correctly, you've placed a behaviour as "Server side script" for Description field

1. if you want the template to be applied based on another field then can use server side script if not initializer is the best option here

2. also you need to validate filled description value before you apply template. there are couple of methods and one is below

if(descField.getFormValue() == ""){

   //apply template to description field

 

let me know if that helps you

 

BR,

Leo 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events