fix(url-encoder, validation): typo in validation of url-encoder.vue #1024
This commit is contained in:
1 parent
9eac9cb2a9
commit
cb5b462e11
1 file changed
+1
-1
@@ -23,7 +23,7 @@ const decodeInput = ref('Hello%20world%20%3A)');
|
|||||||
const decodeOutput = computed(() => withDefaultOnError(() => decodeURIComponent(decodeInput.value), ''));
|
const decodeOutput = computed(() => withDefaultOnError(() => decodeURIComponent(decodeInput.value), ''));
|
||||||
|
|
||||||
const decodeValidation = useValidation({
|
const decodeValidation = useValidation({
|
||||||
source: encodeInput,
|
source: decodeInput,
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
validator: value => isNotThrowing(() => decodeURIComponent(value)),
|
validator: value => isNotThrowing(() => decodeURIComponent(value)),
|
||||||
|
|||||||
Reference in new issue
Block a user