Could someone provide assistance with adding a condition to this Binding that outputs different bindings depending on the number of commas in the input?
<p>{{ target}}</p>
<input v-model="target" placeholder="Enter Your Target" />
If there are no commas, the output should be:
You Entered `London`
If there is one comma:
You Entered `London` AND `Paris`
If there are many commas:
You Entered `London` AND `Paris` AND `Rome`