Comments (1)
I found the solution. This is somehow unrelated to nuxt UI itself.
It seems to be a kind of bug which makes the usages of pending
not relevant when using {immediate: false}
: nuxt/nuxt#19333
The solution is:
const { data, status, error, execute } = await useFetch("auth/signup", {
// ... same as before
});
and then to test status == 'pending'
rather than pending
. Clunky and prone to error as it is hidden in the doc, but it works.
from ui.
Related Issues (20)
- VerticalNavigation lose Icon on hover when dynamic is true HOT 1
- Navigation components - add a title prop
- Icons HOT 8
- Introduce `size` to `UCheckbox`
- Helptext for iconpacks
- SelectMenu - max items when in multiple mode? Always open mode?
- Change color of UHorizontalNavigation active underline
- UInput fetch multi times HOT 1
- Some icon not working, how to fix ? HOT 5
- A Credit Card Component HOT 3
- Provide a `useSlideover` composable for dynamic slideovers (Can contribute this) HOT 1
- How to align the bottom line of HorizontalNavigation
- SelectMenu content is cut by Modal overflow-hidden HOT 4
- Docs & DatePicker : Selecting the date already selected triggers an error
- Add input-number component HOT 1
- How to prevent links from jumping when UCarousel mouse dragging scroll ends
- Checkboxes inside Dropdown HOT 1
- UDashboardPanel - edit collapsible classes HOT 2
- Theming in nuxt.config HOT 1
- UEmpty :Create a new component with an empty state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui.