Premium support for our pure JavaScript UI components


Post by empire »

We have upgraded to 7.2.3 and now the Constraint Type Field on the Advanced Tab of the Task Editor appears to be required (see attached).

We have even tried setting the required property but the behaviour persists.

 taskEdit: {
	 items: {
	 	advancedTab: {
			items: {
		        	constraintTypeField: {
		             		required: false

Please advise.

Attachments
Untitled.png
Untitled.png (51.43 KiB) Viewed 5446 times

Post by mats »

Can you reproduce this in our default samples? If not, can you please share a small test case with us so we can reproduce/fix?


Post by empire »

We have found the cause of the issue with the latest release.

The constraintType data source must be null and not empty string.


Post by ahmadzaheer »

Hello,

Yes, only undefined, null and explicit 'none' are considered to be valid nullish values for now. Due to this empty string is treated to be invalid.
Can you please let us know if this was working previously? If so in which version?

Regards,
Ahmad Zaheer


Post by empire »

Empty string worked in version 6x and earlier.


Post by ahmadzaheer »

Thanks for mentioning. Here is a ticket which you can track regarding the fix for this: https://github.com/bryntum/support/issues/13108

Regards,
Ahmad Zaheer


Post Reply