IntellijAlpine
IntellijAlpine copied to clipboard
x-data with blade variable injection isn't handled correctly
Trying to define a variable with a value coming from blade result in alerts and the IDE being lost at an unlawful statement:
Here is the working code
x-data="{
isOpen: false,
messageToDisplay: '{{ $messageToDisplay }}',
showNotification(message) {
this.isOpen = true
this.messageToDisplay = message
setTimeout(() => {
this.isOpen = false
}, 5000)
}
}"
Here is the result in phpStorm screen :
Same issue here @inxilpro any existing way to handle this?