- Issue created by @larowlan
- Merge request !11686Issue #3516359 ComponentValidator ignores the set validator โ (Open) created by larowlan
- ๐บ๐ธUnited States smustgrave
Can't re-run the test but failure appears to be in nightwatch /builds/project/drupal/core/modules/toolbar/tests/src/Nightwatch/Tests/toolbarTest.js:50
So pretty sure it's random.
Left a comment on the MR.
- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
This is blocking for adding autocomplete support to link field widgets in Experience Builder
- ๐บ๐ธUnited States smustgrave
Was wondering what for XB this was impacting haha :)
- ๐ฌ๐งUnited Kingdom longwave UK
More fundamental question: should we reset the validator before each time we try to use it, instead of after?
- ๐ฆ๐บAustralia mstrelan
I feel a bit uneasy about the test case. The existing tests run through a number of valid and invalid scenarios for the default validator. But currently you're replacing the default validator, so now we don't know if the scenarios would pass or fail with the original validator.
I think instead we should have an additional test case that is explicitly to test that swapping out the validator is respected by
::validateProps
. - ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
Yep, you're right - I've done that - thanks for the review!
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
This looks awesome!
This AFAICT also opens the door to defining custom formats, for example:
image_url: type: string format: url--image
or
code_snippet: type: string format: multi-line
or โฆ
That likely would be a better DX than the use of
$ref
in Experience Builderโฆ food for thought! ๐ค -
lauriii โ
committed 914ecc3f on 11.x
Issue #3516359 by larowlan, smustgrave, longwave, lauriii, wim leers,...
-
lauriii โ
committed 914ecc3f on 11.x
-
lauriii โ
committed a99e6d35 on 11.1.x
Issue #3516359 by larowlan, smustgrave, longwave, lauriii, wim leers,...
-
lauriii โ
committed a99e6d35 on 11.1.x
-
lauriii โ
committed ae15b7f4 on 10.5.x
Issue #3516359 by larowlan, smustgrave, longwave, lauriii, wim leers,...
-
lauriii โ
committed ae15b7f4 on 10.5.x
-
lauriii โ
committed 73fbc455 on 10.4.x
Issue #3516359 by larowlan, smustgrave, longwave, lauriii, wim leers,...
-
lauriii โ
committed 73fbc455 on 10.4.x
Automatically closed - issue fixed for 2 weeks with no activity.