Closed ryanmitchell closed 3 years ago
Not sure if this works but using the nullable
(not present
) rule instead works and more cleaner... We could then add new component properties to make fields required or not.
I was working on the principle that if they were shown they are required?
On 5 Jun 2021, at 07:46, Sam Poyigi @.***> wrote:
Not sure if this works but using the nullable (not present) rule instead works and more cleaner... We could then add new component properties to make fields required or not.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tastyigniter/ti-ext-cart/pull/57#issuecomment-855194377, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAMVOYMGKBR5WB4LC5TAL3TRHB3DANCNFSM46CV6FWA.
Right, I mean we don't need the if check, simply replacing sometimes rule with nullable will cover cases where the fields are hidden.
No problem - updated.
On 8 Jun 2021, at 21:21, Sam Poyigi @.***> wrote:
Right, I mean we don't need the if check, simply replacing sometimes rule with nullable will cover cases where the fields are hidden.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tastyigniter/ti-ext-cart/pull/57#issuecomment-857097826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAMVO5BHGCGBPS7LH4OBQDTRZ3T7ANCNFSM46CV6FWA.
Fixes: https://github.com/tastyigniter/TastyIgniter/issues/778