Jan-Paul Kleemans

Results 35 comments of Jan-Paul Kleemans

Hi, have you tried the [remote method](https://jqueryvalidation.org/remote-method/)?

Ah, that's problematic. You could try to create a [custom validation rule](https://github.com/jpkleemans/angular-validate#custom-validation-rules), but it's hard to make them async (maybe [this](https://gist.github.com/42antoine/2ed94d0ffbeff02957d0cea257ee8053) can help). Another option would be to use the...

Hi Jeffrey, thanks for your PR! 👍 Could you add a test case for this? (https://github.com/jpkleemans/attribute-events/blob/master/tests/AttributeEventsTest.php)

This is fixed in #13

@garygreen I agree that using dedicated methods like `markConfirmed()` is very explicit, but it can also lead to very cumbersome controllers. Say we have the following API call to update...

@garygreen In addition, to answer your last question: > For example, what if you had a confirmed_by attribute and a confirmed_payment_amount on your model - what should trigger the PaymentConfirmed...

> I assume that works based on checking all the dispatchesEvents every single time an attribute changes? Sounds like a N+1 problem waiting to happen. After updating a model, it...

Until Vite 2 is supported you could use [vite-svg-loader](https://github.com/jpkleemans/vite-svg-loader)

Could you try loading the file using a relative path: ```js import Moon from '../../public/icons/moon.svg?component' ```

This behavior is on purpose. Files you import directly from /public are copied "as-is". This is standard Vite behavior. For example, try loading a .vue file directly from the /public...