#TagInput IP validation

3 messages · Page 1 of 1 (latest)

quaint aspen
#

How to use the ip validation on tag input?

TagsInput::make('ip_whitelist')
  ->placeholder('Enter ip address')
  ->helperText('Enter ip address to allow access, press enter to add a new ip')
  ->ip(),

I always get The ip whitelist field must be a valid IP address. error

broken crownBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

quaint aspen
#

All good now.. i used nestedRecursiveRules function