vue-mailchimp-subscribe icon indicating copy to clipboard operation
vue-mailchimp-subscribe copied to clipboard

How to integrate v-text-field instead of input element?

Open reisenmachtfreude opened this issue 4 years ago • 1 comments

I'm using vue3 and trying to replace the input element with a fancy v-text-field. However, my try did not work.

		<template v-slot="{ subscribe, setEmail, error, success, loading }">
		<form @submit.prevent="subscribe">
			<v-text-field
			label="Your email address"
			:rules="rules"
			hide-details="auto"
			@input="setEmail($event.target.value)"
			></v-text-field> -->
			<button type="submit"><v-icon>mdi-email</v-icon></button>
			<div v-if="error">{{ error }}</div>
			<div v-if="success">Sucessfully subscribed!</div>
			<div v-if="loading">Loading…</div>
		</form>
		</template>

Error: "TypeError: Cannot read property 'value' of undefined"

I would be happy if you can provide advice.

reisenmachtfreude avatar Jul 03 '21 05:07 reisenmachtfreude

A wild guess could be that there is no place left on the desktop, so no index on the grid? need to look more at it.

rmottola avatar Apr 17 '24 18:04 rmottola

@buzzdeee I think the transition to NSUInteger requires much more work... it may be related though, since the situation is quited mixed. I started a branch to work on it: https://github.com/gnustep/apps-gworkspace/tree/NSUInteger_Index

see latest commit: https://github.com/gnustep/apps-gworkspace/commit/7b0d1668192bd068c107f03ce4338a061d5c48ed

please test? I already found some bugs. Certain indexes cannot be made unsigned for the way the code is written, I need to think about it. Moving icons on the desktop causes a hang. I fear somewhere the code relied on negative values more than just not found, or perhaps I missed something. Do you spot it?

rmottola avatar Apr 18 '24 00:04 rmottola

I worked more, rewriting some loops. Now I don't have issues creating many files on the desktop with your script, even running it twice. However, when removing the files gradually, I notice that certain icons have no label displayed! Mystery! Clues?

rmottola avatar Apr 23 '24 00:04 rmottola

Should be fixed, works for me now, @buzzdeee .

rmottola avatar May 28 '24 00:05 rmottola