->afterStateUpdated(function (Closure $set, $state) { $set('slug', Str::slug($state)); // for TextInput('slug') $set('a', Str::slug($state)); // for TextInput('a') $set('b', Str::slug($state)); // for TextInput('b') $set('c', Str::slug($state)); // for TextInput('c')})